#ifndef _GEOMETRY_SPHERE_H_
#define _GEOMETRY_SPHERE_H_

//	WARNING: class Sphere is deprecated and should be replaced with UVSphere
#include "Shape.h"

class Sphere : public Shape
{
public:
	Sphere(const Vector3& _center, float _radius, const rgb& _color);
	bool hit(const Ray& r, float tmin, float tmax, float time, HitRecord &record) const;
	bool shadowHit(const Ray& r, float tmin, float tmax, float time) const;

	Vector3 center;
	float radius;
	rgb color;
};


#endif